﻿<%@ Page language="c#" Codebehind="emailadmin.aspx.cs" validateRequest="false" AutoEventWireup="true" Inherits="sow.emailadmin" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>forumMain</title>
		<meta content="False" name="vs_snapToGrid">
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<LINK href="../springofwater.css" type="text/css" rel="stylesheet">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
	</HEAD>
	<body>
		<div align="center">
			<div align="center">
				<table id="table812" width="80%" border="0">
					<tr>
						<td align="center">
							<%Server.Execute("header.aspx");%>
						</td>
					</tr>
				</table>
				<table cellSpacing="0" cellPadding="0" width="770" align="center" border="0">
					<tr>
						<td><!--insert menu here-->
							<ul style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; FLOAT: left; PADDING-BOTTOM: 0px; MARGIN: 0px; WIDTH: 100%; PADDING-TOP: 0px; FONT-FAMILY: SimSun; LIST-STYLE-TYPE: none; BACKGROUND-COLOR: white">
								<li style="DISPLAY: inline">
									<A class="menu" href="index.aspx">泉源首页</A>
								<li style="DISPLAY: inline">
									<A class="menu" href="forumsStart.aspx">泉源论坛</A>
								<li style="DISPLAY: inline">
									<A class="menu" href="bloggermain.aspx">泉源博客</A>
								<li style="DISPLAY: inline">
									<A class="empty" href=""></A>
								<li style="DISPLAY: inline">
									<A class="menu" href="dengji.aspx">注册登记</A>
								<li style="DISPLAY: inline">
									<A class="menu" href="women.aspx">关于我们</A>
								<li style="DISPLAY: inline">
									<A class="menu" href="mailto:contact@springofwater.net">联络我们</A>
								</li>
							</ul>
						</td>
					</tr>
				</table>
			</div>
			<form id="Form1" method="post" runat="server">
				<table width="750" borderColor="#6699cc" cellSpacing="0" cellPadding="0" align="center"
					bgColor="whitesmoke" border="1">
					<tr>
						<td height="25" align="center">
							<TABLE id="Table1" cellSpacing="0" cellPadding="0" width="100%" border="0">
								<TR>
									<td colspan="2" height="25" style="FONT-WEIGHT: bold; COLOR: #0000c0">邮件发送帐号管理：
									</td>
								</TR>
								<TR>
									<td align="right" width="30%" height="25"><font size="2">发送邮件帐号：</font>
									</td>
									<td width="70%">
										<asp:TextBox id="TextBox_EmailAccount" runat="server" Width="436px"></asp:TextBox>
									</td>
								</TR>
								<TR>
									<td align="right" height="25"><font size="2">发送邮件帐号密码：</font>
									</td>
									<td>
										<asp:TextBox id="TextBox_AccountPassword" runat="server" Width="135px"></asp:TextBox>
									</td>
								</TR>
								<TR>
									<td align="right" height="25"><font size="2">Smtp Server：</font>
									</td>
									<td>
										<asp:TextBox id="TextBox_SmtpServer" runat="server" Width="436px"></asp:TextBox>
									</td>
								</TR>
								<TR>
									<td align="right" height="25"><font size="2">日志文件目录：</font>
									</td>
									<td>
										<asp:TextBox id="TextBox_LogDir" runat="server" Width="436px"></asp:TextBox>
									</td>
								</TR>
								<TR>
									<td align="right" height="25">&nbsp;
									</td>
									<td>
										<asp:CheckBox id="CheckBox_State" runat="server" Text="是否启动邮件发送服务" Font-Size="Smaller" Checked="True"></asp:CheckBox>
									</td>
								</TR>
								<TR>
									<td align="right" height="25"><font size="2">用户创建Email列表数目：</font>
									</td>
									<td>
										<asp:TextBox id="TextBox_EmailListSize" runat="server" Width="60px">10</asp:TextBox>
									</td>
								</TR>
								<TR>
									<td align="right" height="25"><font size="2">用户创建Email数目：</font>
									</td>
									<td>
										<asp:TextBox id="TextBox_EmailSize" runat="server" Width="60px">50</asp:TextBox>
									</td>
								</TR>
								<TR>
									<td colspan="2" height="25" align="center"><FONT face="宋体">
											<asp:Button id="Button1" runat="server" Text="保  存"></asp:Button></FONT>
									</td>
								</TR>
							</TABLE>
						</td>
					</tr>
				</table>
				<br>
				<br>
				<table width="750" borderColor="#6699cc" cellSpacing="0" cellPadding="0" align="center"
					bgColor="whitesmoke" border="1">
					<tr>
						<td>
							<table width="100%" border="0" cellSpacing="0" cellPadding="0" align="center">
								<tr>
									<td height="25" style="FONT-WEIGHT: bold; COLOR: #0000c0">邮件发送日志列表：
									</td>
								</tr>
								<tr>
									<td height="25">
										<asp:datagrid id="DataGrid_List" runat="server" Width="100%" AutoGenerateColumns="False" CellPadding="2"
											GridLines="None" HorizontalAlign="Center" AllowSorting="False" BorderWidth="1px" CellSpacing="1"
											BorderColor="Black" BackColor="White" ForeColor="#336699" ShowHeader="False">
											<ItemStyle Font-Size="12px" Height="26px" BorderStyle="None"></ItemStyle>
											<HeaderStyle Font-Size="12px" Height="23px" ForeColor="#003399" BackColor="Lavender"></HeaderStyle>
											<Columns>
												<asp:BoundColumn DataField="LogFile" HeaderText="邮箱地址">
													<HeaderStyle BorderWidth="1px" BorderStyle="Solid" BorderColor="Black" Width="400px"></HeaderStyle>
												</asp:BoundColumn>
												<asp:TemplateColumn HeaderText="删除">
													<HeaderStyle HorizontalAlign="Center" BorderWidth="1px" BorderStyle="Solid" BorderColor="Black"
														Width="60px"></HeaderStyle>
													<ItemStyle HorizontalAlign="Center" Width="60px"></ItemStyle>
													<ItemTemplate>
														<asp:Button id="Button_Delete" runat="server" CssClass="A" Width="60px" Text="删除"></asp:Button>
														<asp:Label id="Label_LogFile" runat="server" Visible="False"></asp:Label>
													</ItemTemplate>
												</asp:TemplateColumn>
											</Columns>
											<PagerStyle Height="30px" HorizontalAlign="Center" Mode="NumericPages"></PagerStyle>
										</asp:datagrid>
									</td>
								</tr>
							</table>
						</td>
					</tr>
				</table>
			</form>
			<DIV align="center">
				<table id="table81" width="80%" border="0">
					<tr>
						<td align="center">
							<% Server.Execute("tail.aspx");%>
						</td>
					</tr>
				</table>
			</DIV>
		</div>
	</body>
</HTML>
